package cc.linker.steplink.crm.merchant.dao.acs;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface WithdrawDao {
    String findCustomerId(@Param("casUserId") String casUserId);
    Map<String, String> checkMoney(@Param("casUserId") String customerId);

    String findBankStatus(@Param("customerId") String customerId);

    List<Map<String, Object>> withDrawList(Map<String, Object> params);

    void checkWithDraw(Map<String, Object> params);

    Map<String, Object> getTradeByWithDraw(String withDrawId);

    void addTrade(Map<String, Object> record);

    void updateBalance(Map<String, Object> temp);

    Map<String, Object> getDrawRecord(String withDrawId);

    Long getBalance(Map<String, Object> temp);

    Long getBalanceByAdminId(String adminId);

    Map<String, Object> getOrgSetByOrgId(String orgId);
}
